<?xml version="1.0" encoding="UTF-8" ?>
<% include '/common/headeradmin.gtpl' %>

<h1>Kategorien der Default Checkliste</h1>

<form action="/admin/createprio" method="post">
<table>
	<thead>
		<tr>
			<th colspan="4">Neue Prio hinzufügen</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>ID</td>
			<td><input type="text" name="id" /></td>
		</tr>
		<tr>
			<td>Bezeichnung</td>
			<td><input type="text" name="beschreibung" /></td>
		</tr>
	</tbody>
	
</table><br/>
<input class="buttonlogin" type="submit" value="Erstellen" />
</form>
<br/><br/>

<table>
<thead>
  <tr>
  	<th>Key</th>
    <th>Id</th>
    <th>Beschreibung</th>
  </tr>
  </thead>
  <% request.list.each { item -> %>
  <tr> 
   <td>${item.key}</td>
   <td>${item.id}</td>
   <td>${item.beschreibung}</td>
  </tr>
  <% } %>
</table>
<br/><br/><br/>
<!-- <a href="/admin">Zurück zur Übersicht</a>-->
<% include '/common/footer.gtpl' %>